/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package healthcare.coursework.service;

import healthcare.coursework.model.Patient;
import java.util.Date;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Administrator
 */
@Remote
public interface PatientService {

    Patient findPatient(Long patientId);

    List<Patient> findPatients();

    Patient findPatientByTrackingCode(String trackCode);

    String createPatient(String fullName, Date dateOfBirth, String job, String address, String phone);

    void edit(Patient patient);

    void removePatient(Long patientId);

    void removePatients(List<Long> patientIds);

    void recover(String patientIds);

    void removeForever(String vehicleId);
    List<Patient> findPatientsByFullName(String patientName);
}
